package com.wootide.ets.sys.rightinfo.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * 
 * 权限管理pojo类
 * 〈功能详细描述〉
 * @author wuliquan
 * @version 2013-5-27
 * @see AuthoritiesInfo
 * @since
 */
public class AuthoritiesInfo implements java.io.Serializable
{
    
    /**
     * 意义，目的和功能，以及被用到的地方<br>
     */
    private static final long serialVersionUID = 1L;
    /**
     * 权限ID
     */
    private Integer authorityId;
    /**
     * 权限名称
     */
    private String authorityName;
    
    /**
     * 是否可用
     */
    private Integer enabled;
    /**
     * 群权限描述
     */
    private String authorityDesc;
    
    /**
     * 权限菜单集合
     */
    private Set authorityMenus = new HashSet(0);
    /**
     * 角色权限信息集合
     */
    private Set roleAuthoritiesInfos = new HashSet(0);
    
    // Constructors
    
    /** default constructor */
    public AuthoritiesInfo()
    {
    }
    
    /** full constructor */
    public AuthoritiesInfo(String authorityName, Integer enabled,
            String authorityDesc, Set authorityMenus, Set roleauthoritiesinfos)
    {
        this.authorityName = authorityName;
        this.enabled = enabled;
        this.authorityDesc = authorityDesc;
        this.authorityMenus = authorityMenus;
        this.roleAuthoritiesInfos = roleAuthoritiesInfos;
    }
    
    // Property accessors
    
    public Integer getAuthorityId()
    {
        return this.authorityId;
    }
    
    public void setAuthorityId(Integer authorityId)
    {
        this.authorityId = authorityId;
    }
    
    public String getAuthorityName()
    {
        return this.authorityName;
    }
    
    public void setAuthorityName(String authorityName)
    {
        this.authorityName = authorityName;
    }
    
    public Integer getEnabled()
    {
        return this.enabled;
    }
    
    public void setEnabled(Integer enabled)
    {
        this.enabled = enabled;
    }
    
    public String getAuthorityDesc()
    {
        return this.authorityDesc;
    }
    
    public void setAuthorityDesc(String authorityDesc)
    {
        this.authorityDesc = authorityDesc;
    }

    public Set getAuthorityMenus()
    {
        return authorityMenus;
    }

    public void setAuthorityMenus(Set authorityMenus)
    {
        this.authorityMenus = authorityMenus;
    }

    public Set getRoleAuthoritiesInfos()
    {
        return roleAuthoritiesInfos;
    }

    public void setRoleAuthoritiesInfos(Set roleAuthoritiesInfos)
    {
        this.roleAuthoritiesInfos = roleAuthoritiesInfos;
    }
    
   
    
}